how to solve integrals